package fr.paris.sud.com;

import java.util.HashMap;

import fr.lri.swingstates.canvas.CElement;
import fr.paris.sud.com.GeometricVector;

public class ImageStructure {
	
//	private HashMap<Integer,ImageStructure> imageStructure = new HashMap<Integer,ImageStructure>();
	private String path;
	private int idI;
	public String imagePath="";
	public int gridIndex;
	CElement visualization;
	GeometricVector motionVector;
	
	ImageStructure(int id, String p){
		this.idI=id;
		this.path=p;
	}
	
	ImageStructure(String p){
		this.path=p;
	}
	
	ImageStructure(){}
	
	ImageStructure(CElement vis, GeometricVector vec, String p) {
		// TODO Auto-generated constructor stub
		this.visualization = vis;
		this.motionVector = vec;
		this.path=p;
	}
	
//	public HashMap<Integer,ImageStructure> setImageStructure(int id, ImageStructure iS){
//		this.idI=id;
//		imageStructure.put(imageStructure.hashCode(), iS);
//		return imageStructure;
//	}
	
	public void setImagePath(String p){
		imagePath=p;
//		System.out.println("ImageStructure:setImagePath:imagePath: "+imagePath);
	}
	
	public String getImagePath(){
//		System.out.println("ImageStructure:getImagePath:imagePath: "+imagePath);
		return imagePath;		
	}

}
